package com.ruoyi.hospital.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 楼层信息对象 yl_guide
 * 
 * @author ruoyi
 * @date 2022-02-16
 */
public class YlGuide extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 楼层ID */
    private Long guideId;

    /** 楼层层数 */
    @Excel(name = "楼层层数")
    private Long num;

    /** 楼层索引 */
    @Excel(name = "楼层索引")
    private String description;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    private Long revision;

    public void setGuideId(Long guideId) 
    {
        this.guideId = guideId;
    }

    public Long getGuideId() 
    {
        return guideId;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setRevision(Long revision) 
    {
        this.revision = revision;
    }

    public Long getRevision() 
    {
        return revision;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guideId", getGuideId())
            .append("num", getNum())
            .append("description", getDescription())
            .append("revision", getRevision())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
